<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		body{
			background: #fff url(./diwen1.png) 0 0 no-repeat;
			/*background: #fff url() 0 0 no-repeat;*/
			/*background-size: cover;*/

			background-position: center;
			/*height: 600px;*/

		}
		.box{
			width: 200px;
			height: 200px;
			/*background: #fff url(./diwen.png) 0 0 no-repeat;*/
		}
		/*用一张图片到当盒子的背景*/

		/*盒子很大，图片很小的情况，可以进行平铺。*/

	</style>
</head>
<body>
	<div class="box">
		fklhsd kjfha skjdhka
	</div>
</body>
</html>